#include<stdio.h>


int result[100]={0};

int a[9]={1,2,3,4,5,6,7,8,9},
     b[9]={9,8,7,6,5,4,3,2,1}; 


int main()
{
 
   
        for(int i=6,j = 8; j >= 0; j--)//b数组的
             {
              // i j 在往下降
              int num = a [i] *b [j];
              int sum = result[i+j+1] + num;
              result[i+j+1] = sum % 10;
              result[i+j] += sum / 10 ;// 高位在左边
              printf ("%ld  %d\n",result[i+j+1],i+j+1);
             }
             printf("\n");

}